/**
 * Copyright© 2003-2019 浙江汇信科技有限公司, All Rights Reserved. <br/>
 */
package com.icinfo.cloud.provider.punish.dataprocessing.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.icinfo.framework.mybatis.mapper.annotation.Before;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.*;

/**
 * 描述: 工单处理-案源删除备份表 data_process_case_source_main_info_del_record 对应的实体类.<br>
 * WARNING：不是表中字段的属性必须加@Transient注解
 * @author framework generator
 * @date 2023年02月02日
 */
@Data
@Table(name = "dataprocessing.data_process_case_source_main_info_del_record")
public class DataProcessCaseSourceMainInfoDelRecord implements Serializable {
    /**
     * 主键id
     */
    @Id
    @Column(name = "id")
    @Before
    private String id;

    /**
     * 案源状态
     */
    @Column(name = "case_source_status")
    private String caseSourceStatus;

    /**
     * 案件来源;1 巡查中发现,2 社会举报,3 有关部门移送,4 上级行政机关交办,5 下级行政机关报请,6 非现场执法,7 机构检测报告,8 在行政检查中发现,9 其他
     */
    @Column(name = "case_source")
    private String caseSource;

    /**
     * 办案机构编码
     */
    @Column(name = "handle_org_code")
    private String handleOrgCode;

    /**
     * 办案机构名称
     */
    @Column(name = "handle_org_name")
    private String handleOrgName;

    /**
     * 办案部门编码
     */
    @Column(name = "handle_dept_code")
    private String handleDeptCode;

    /**
     * 办案部门名称
     */
    @Column(name = "handle_dept_name")
    private String handleDeptName;

    /**
     * 登记时间
     */
    @Column(name = "register_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date registerTime;

    /**
     * 处理时间
     */
    @Column(name = "deal_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date dealTime;

    /**
     * 主办人员id
     */
    @Column(name = "handle_person_main_id")
    private String handlePersonMainId;

    /**
     * 主办人员名称
     */
    @Column(name = "handle_person_main_name")
    private String handlePersonMainName;

    /**
     * 协办人员id
     */
    @Column(name = "handle_person_assist_id")
    private String handlePersonAssistId;

    /**
     * 协办人员名称
     */
    @Column(name = "handle_person_assist_name")
    private String handlePersonAssistName;

    /**
     * 当事人名称
     */
    @Column(name = "party_name")
    private String partyName;

    /**
     * 案源名称
     */
    @Column(name = "case_source_name")
    private String caseSourceName;

    /**
     * 案源来源描述
     */
    @Column(name = "case_source_desc")
    private String caseSourceDesc;

    /**
     * 是否匿名；1 是 0否
     */
    @Column(name = "is_anonymous")
    private String isAnonymous;

    /**
     * 案源登记内容
     */
    @Column(name = "case_source_register_content")
    private String caseSourceRegisterContent;

    /**
     * 创建人名称
     */
    @Column(name = "create_user_name")
    private String createUserName;

    /**
     * 创建人id
     */
    @Column(name = "create_user_id")
    private String createUserId;

    /**
     * 创建人单位代码
     */
    @Column(name = "create_user_org_code")
    private String createUserOrgCode;

    /**
     * 创建人单位名称
     */
    @Column(name = "create_user_org_name")
    private String createUserOrgName;

    /**
     * 创建人部门代码
     */
    @Column(name = "create_user_dept_code")
    private String createUserDeptCode;

    /**
     * 创建人部门名称
     */
    @Column(name = "create_user_dept_name")
    private String createUserDeptName;

    /**
     *  数据来源应用id
     */
    @Column(name = "case_source_app_id")
    private String caseSourceAppId;

    /**
     * 条线编码
     */
    @Column(name = "line_code")
    private String lineCode;

    /**
     * 条线名称
     */
    @Column(name = "line_name")
    private String lineName;

    /**
     * 创建人单位统一社会信用代码
     */
    @Column(name = "create_user_org_uniscid")
    private String createUserOrgUniscid;

    /**
     * 创建人浙政钉id
     */
    @Column(name = "create_user_zwding_id")
    private String createUserZwdingId;

    /**
     * 创建时间
     */
    @Column(name = "create_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;

    /**
     * 数据来源业务id
     */
    @Column(name = "case_source_app_service_id")
    private String caseSourceAppServiceId;

    /**
     * 案源地址(省市区逗号分隔)
     */
    @Column(name = "case_source_address_area_name")
    private String caseSourceAddressAreaName;

    /**
     * 案源详细地址
     */
    @Column(name = "case_source_address_detail")
    private String caseSourceAddressDetail;

    /**
     * 备注
     */
    @Column(name = "remark")
    private String remark;

    /**
     * 流程阶段编码
     */
    @Column(name = "case_source_stage_code")
    private String caseSourceStageCode;

    /**
     * 处置期限（人设存在）
     */
    @Column(name = "term_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date termTime;

    /**
     * 外部行政行为码
     */
    @Column(name = "case_source_app_acts_code")
    private String caseSourceAppActsCode;

    /**
     * 案件来源补充来源id
     */
    @Column(name = "case_source_replenish_id")
    private String caseSourceReplenishId;

    /**
     * 参数id
     */
    @Column(name = "busi_param_id")
    private String busiParamId;

    /**
     * （人社条线）是否涉及农民工；1 是 0否
     */
    @Column(name = "is_relate_farmer")
    private String isRelateFarmer;

    /**
     * （人社条线）工程项目类型-数据字典（RS_PROJECT_TYPE）
     */
    @Column(name = "project_type")
    private String projectType;

    /**
     * （人社条线）涉及农民工数量
     */
    @Column(name = "relate_farmer_num")
    private String relateFarmerNum;

    /**
     * （人社条线）涉及金额
     */
    @Column(name = "relate_amount")
    private String relateAmount;

    private static final long serialVersionUID = 1L;
}